package com.smarthealthring.mm.ui.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.widget.ImageView;
import android.widget.TextView;

import com.jakewharton.rxbinding2.view.RxView;
import com.smarthealthring.mm.R;
import com.smarthealthring.mm.base.BaseActivity;
import com.smarthealthring.mm.base.IPresenter;
import com.smarthealthring.mm.utils.ComToolBar;

import butterknife.BindView;
import io.reactivex.functions.Consumer;

/**
 * 关于
 */
public class AboutActivity extends BaseActivity {

    @Override
    protected void initComToolBar() {
        ImageView ivLeft = ComToolBar.setleftImg(mContext, R.drawable.back_white);
        RxView.clicks(ivLeft)
                .subscribe(o -> finish());
        ComToolBar.setTitle(mContext, "关于");
    }

    @Override
    protected int getLayout() {
        return R.layout.act_about;
    }

    @Override
    protected void initEventAndData(@Nullable Bundle savedInstanceState) {

    }

    @Override
    protected IPresenter createPresenter() {
        return null;
    }
}
